<h1>Listing wallets</h1>

<table>
  <tr>
    <th>id</th>
    <th>name</th>

    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @wallets.each do |wallet| %>
  <tr>
    <td><%= wallet.id %></td>
    <td><%= wallet.name %></td>

    <td><%= link_to 'Show', wallet %></td>
    <td><%= link_to 'Edit', edit_wallet_path(wallet) %></td>
    <td><%= link_to 'Destroy', wallet, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Wallet', new_wallet_path %>
